#!/bin/bash

# $1 = output file in png format
# $2 = input movie file
FF=$(which ffmpeg)
[[ -z $FF ]] && exit 0
$FF -i $2  -qscale 1  -vframes 1 -f image2 -y $1 > /dev/null 2>&1
